package com.helen.mybatis.session;

import com.helen.mybatis.configration.Configuration;

import java.util.List;

/**
 * @author helenlee
 * @date 2020/4/7
 */
public interface SqlSession {

    <T> T selectOne(String statementId,Object... param);

    <E> List<E> selectList(String statementId,Object... param);

    int update(String statementId,Object... param);

    <T> T getMapper(Class clazz) throws IllegalAccessException, InstantiationException;

    Configuration getConfiguration();

}
